import { css } from '@/core/tagged';

/**
 * https://uicdn.toast.com/grid/latest/tui-grid.css
 */
export const TuiGridStyle = css`
  /*!
 * TOAST UI Grid
 * @version 4.18.1 | Wed Jul 14 2021
 * @author NHN. FE Development Lab
 * @license MIT
 */
  /*!
 * TOAST UI Select Box
 * @version 1.0.0 | Thu Oct 24 2019
 * @author NHN FE Development Lab <dl_javascript@nhn.com>
 * @license MIT
 */
  .tui-select-box {
    position: relative;
  }

  .tui-select-box-input,
  .tui-select-box-dropdown,
  .tui-select-box-item-group-label,
  .tui-select-box-item {
    box-sizing: border-box;
  }

  .tui-select-box-input {
    border: 1px solid #ddd;
  }

  .tui-select-box-input.tui-select-box-open,
  .tui-select-box-dropdown {
    border: 1px solid #aaa;
  }

  .tui-select-box-input,
  .tui-select-box-dropdown {
    background: #fff;
  }

  .tui-select-box-input,
  .tui-select-box-item-group-label,
  .tui-select-box-item {
    padding: 0 8px;
    height: 29px;
    font-size: 13px;
    color: #333;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
  }

  .tui-select-box-placeholder,
  .tui-select-box-item-group-label,
  .tui-select-box-item {
    line-height: 29px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tui-select-box-placeholder,
  .tui-select-box-icon {
    height: 100%;
  }

  .tui-select-box-placeholder {
    display: inline-block;
    margin: 0;
    width: 80%;
    width: calc(100% - 12px);
    vertical-align: sub;
  }

  .tui-select-box-icon {
    display: block;
    float: right;
    background: url()
      left center no-repeat;
    width: 7px;
    overflow: hidden;
    text-indent: 100%;
  }

  .tui-select-box-open > .tui-select-box-icon {
    background-position: right center;
  }

  .tui-select-box-dropdown,
  .tui-select-box-item-group {
    margin: 0;
    padding: 0;
    list-style-type: none;
  }

  .tui-select-box-dropdown {
    position: absolute;
    border-top: none;
    /* max-height: 145px; */
    overflow: auto;
    z-index: 1;
    width: 100%;
    overflow-x: hidden;
  }

  .tui-select-box-item-group-label {
    display: block;
    font-weight: bold;
    cursor: default;
  }

  .tui-select-box-item-group > .tui-select-box-item {
    padding-left: 20px;
  }

  .tui-select-box-selected {
    background: #f4f4f4;
  }

  .tui-select-box-highlight {
    background: #e5f6ff;
    outline: none;
  }

  .tui-select-box-disabled {
    background: #f9f9f9;
    color: #c8c8c8;
    cursor: default;
  }

  .tui-select-box-hidden {
    display: none; /* for test */
  }
  .tui-grid-container {
    width: 100%;
    position: relative;
    border-width: 0;
    clear: both;
    font-size: 13px;
    font-family: Arial, '\B3CB\C6C0', Dotum, sans-serif;
  }
  .tui-grid-container ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
  }
  .tui-grid-container ::-webkit-scrollbar-thumb {
    border: 4px solid transparent;
    background-clip: content-box;
  }
  .tui-grid-container * {
    box-sizing: content-box;
  }
  .tui-grid-container p,
  .tui-grid-container input,
  .tui-grid-container textarea {
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-family: Arial, '\B3CB\C6C0', Dotum, sans-serif;
  }
  .tui-grid-container fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    display: inline;
    white-space: nowrap;
  }
  .tui-grid-container input[type='text'],
  .tui-grid-container input[type='password'] {
    outline: none;
    box-sizing: border-box;
    line-height: normal;
  }
  .tui-grid-container ul,
  .tui-grid-container li {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .tui-grid-container strong,
  .tui-grid-container em {
    font-style: normal;
  }
  .tui-grid-container .tui-grid-pagination {
    margin-top: 20px;
  }
  .tui-grid-clipboard {
    position: fixed;
    top: 0px;
    left: -9999px;
    width: 100px;
    height: 100px;
  }
  .tui-grid-btn-text {
    display: inline-block;
    text-decoration: none;
  }
  .tui-grid-btn-text span {
    display: inline-block;
    position: relative;
    font-size: 11px;
    color: #333;
    padding-left: 17px;
    letter-spacing: -1px;
    line-height: 23px;
    white-space: nowrap;
    cursor: pointer;
    margin-left: 8px;
    padding-right: 7px;
  }
  .tui-grid-btn-text em {
    position: absolute;
    left: 0;
    top: 5px;
    width: 17px;
    height: 12px;
    background: url()
      no-repeat;
  }
  .tui-grid-btn-sorting {
    display: inline-block;
    overflow: hidden;
    margin-left: 6px;
    height: 16px;
    width: 11px;
    background: url() -91px -10px
      no-repeat;
    vertical-align: middle;
    cursor: pointer;
  }
  .tui-grid-btn-sorting-down {
    background-position: -133px -8px;
  }
  .tui-grid-btn-sorting-up {
    background-position: -112px -8px;
  }
  .tui-grid-btn-close {
    display: inline-block;
    overflow: hidden;
    height: 24px;
    width: 24px;
    background: url() -81px -84px
      no-repeat;
    vertical-align: middle;
    cursor: pointer;
    float: right;
  }
  .tui-grid-btn-filter {
    display: inline-block;
    overflow: hidden;
    height: 24px;
    width: 24px;
    background: url() -13px -84px
      no-repeat;
    vertical-align: middle;
    cursor: pointer;
  }
  .tui-grid-btn-filter-active {
    background-position: -47px -84px;
  }

  .tui-grid-filter-icon {
    cursor: default;
  }

  .tui-grid-layer-state {
    position: absolute;
    background: #fff;
    text-align: center;
    z-index: 15;
  }
  .tui-grid-layer-state p {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin-top: -7px;
    font-size: 14px;
    color: #ccc;
  }
  .tui-grid-layer-state-content {
    padding-top: 50px;
  }
  .tui-grid-layer-state-loading {
    display: block;
    margin: 10px auto 0;
    background: url();
    border: 0;
    width: 150px;
    height: 13px;
  }
  .tui-grid-layer-editing {
    position: absolute;
    background: #fff;
    z-index: 15;
    padding: 0 4px;
    border-style: solid;
    border-width: 1px;
    white-space: nowrap;
    box-sizing: border-box;
  }
  .tui-grid-layer-editing textarea {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 3px 10px;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-all;
    overflow: hidden;
  }
  .tui-grid-layer-focus-border {
    position: absolute;
    overflow: hidden;
    z-index: 15;
  }
  .tui-grid-layer-selection {
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 1px;
    opacity: 0.1;
    filter: alpha(opacity=10);
  }

  .tui-grid-table {
    margin: 0;
    width: 1px;
    box-sizing: border-box;
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px hidden transparent;
    border-bottom: none;
  }
  .tui-grid-lside-area .tui-grid-table {
    width: 100%;
  }
  .tui-grid-cell {
    border-width: 1px;
    border-style: solid;
    white-space: nowrap;
    padding: 0;
    overflow: hidden;
  }
  .tui-grid-cell .tui-grid-cell-content {
    padding: 12px 12px 11px;
    overflow: hidden;
    box-sizing: border-box;
    word-break: break-all;
  }
  .tui-grid-cell img {
    vertical-align: middle;
  }
  .tui-grid-cell-header {
    padding: 4px 5px;
    text-align: center;
    /* @TODO: box-sizing standardize required */
    box-sizing: border-box;
  }
  .tui-grid-cell-summary {
    padding: 0 12px;
  }
  .tui-grid-cell-disabled input[type='text'],
  .tui-grid-cell-disabled input[type='password'] {
    opacity: 0.3;
    filter: alpha(opacity=30);
  }
  .tui-grid-cell-ellipsis .tui-grid-cell-content {
    text-overflow: ellipsis;
  }
  .tui-grid-cell-has-input .tui-grid-cell-content {
    padding: 4px 5px;
  }
  .tui-grid-cell-has-tree {
    height: inherit;
    box-sizing: border-box;
  }
  .tui-grid-cell-has-tree .tui-grid-cell-content {
    padding-left: 14px;
  }
  .tui-grid-cell-content .tui-grid-content-before {
    float: left;
    margin-right: 2px;
    line-height: 1.5;
  }
  .tui-grid-cell-content .tui-grid-content-after {
    float: right;
    margin-left: 2px;
    line-height: 1.5;
  }
  .tui-grid-cell-content .tui-grid-content-input {
    display: block;
    overflow: hidden;
    line-height: 1.5;
    *margin-left: -2px;
    *padding-left: 2px;
  }
  .tui-grid-cell-content input[type='text'],
  .tui-grid-cell-content input[type='password'] {
    width: 100%;
    padding: 6px 7px;
    border: solid 1px #ddd;
  }
  .tui-grid-cell-content label + input {
    margin-left: 10px;
  }
  .tui-grid-cell-content select:not(.tui-time-picker-select) {
    box-sizing: border-box;
  }
  .tui-grid-column-resize-container {
    display: none;
    position: relative;
    width: 0;
  }
  .tui-grid-column-resize-handle {
    float: left;
    position: absolute;
    bottom: 1px;
    left: -99px;
    width: 7px;
    background: #000;
    opacity: 0;
    filter: alpha(opacity=0);
    cursor: col-resize;
  }
  .tui-grid-column-resize-handle-last {
    width: 3px;
  }
  .tui-grid-border-line {
    position: absolute;
    z-index: 15;
  }
  .tui-grid-border-line-top {
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
  }
  .tui-grid-border-line-left {
    top: 0;
    bottom: 17px;
    left: 0;
    width: 1px;
  }
  .tui-grid-border-line-right {
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
  }
  .tui-grid-border-line-bottom {
    bottom: 0;
    left: 0;
    right: 17px;
    height: 1px;
    z-index: 10;
  }
  .tui-grid-no-scroll-x .tui-grid-border-line-left {
    bottom: 0;
    right: 0;
  }
  .tui-grid-no-scroll-y .tui-grid-border-line-bottom {
    right: 0;
  }
  .tui-grid-content-area {
    position: relative;
    border-style: solid;
    border-width: 0 0 1px;
  }
  .tui-grid-content-area.tui-grid-no-scroll-x {
    border-bottom-width: 0;
  }
  .tui-grid-header-area {
    border-style: solid;
    border-width: 0 0 1px;
    position: relative;
    overflow: hidden;
  }
  .tui-grid-header-area .tui-grid-table {
    border-top-style: solid;
  }
  .tui-grid-body-area {
    border-style: solid;
    border-width: 0;
    position: relative;
    overflow: scroll;
  }
  .tui-grid-has-summary-top .tui-grid-body-area {
    margin-top: -17px;
    border-top-width: 1px;
  }
  .tui-grid-no-scroll-x.tui-grid-has-summary-top .tui-grid-body-area {
    margin-top: 0;
  }
  .tui-grid-summary-area {
    position: relative;
    margin-top: -18px;
    border-top: 1px solid;
    overflow-y: hidden;
    overflow-x: scroll;
  }
  .tui-grid-no-scroll-x .tui-grid-summary-area {
    margin-top: -1px;
    margin-bottom: 1px;
    overflow-x: hidden;
  }
  .tui-grid-no-scroll-x .tui-grid-summary-area-right {
    bottom: 0;
  }
  .tui-grid-no-scroll-x.tui-grid-has-summary-top {
    margin-top: 0;
  }
  .tui-grid-has-summary-top .tui-grid-summary-area {
    margin-top: 0;
    border-top-style: hidden;
    margin-bottom: 0;
  }
  .tui-grid-lside-area {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 5;
  }
  .tui-grid-lside-area .tui-grid-body-area {
    margin-right: -17px;
  }
  .tui-grid-lside-area .tui-grid-body-area .tui-grid-selection-layer {
    left: 1px;
  }
  .tui-grid-rside-area {
    display: none;
    overflow: hidden;
  }
  .tui-grid-rside-area .tui-grid-header-area,
  .tui-grid-rside-area .tui-grid-summary-area {
    margin-right: 17px;
  }
  .tui-grid-rside-area .tui-grid-frozen-border-top {
    position: absolute;
    top: 0;
  }
  .tui-grid-rside-area
    .tui-grid-frozen-border-top
    .tui-grid-column-resize-handle {
    top: 0;
  }
  .tui-grid-rside-area .tui-grid-frozen-border-bottom {
    position: absolute;
    bottom: 0;
    height: 17px;
  }
  .tui-grid-no-scroll-y .tui-grid-rside-area .tui-grid-header-area,
  .tui-grid-no-scroll-y .tui-grid-rside-area .tui-grid-summary-area {
    margin-right: 0;
  }
  .tui-grid-body-container {
    position: relative;
    margin-top: -1px;
  }
  .tui-grid-table-container {
    position: absolute;
  }
  .tui-grid-scrollbar-right-top {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    border-style: solid;
    border-width: 0 1px 1px 1px;
    z-index: 10;
  }
  .tui-grid-scrollbar-left-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 17px;
    border-style: solid;
    border-width: 0 1px;
    z-index: 10;
  }
  .tui-grid-scrollbar-right-bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    border-style: solid;
    border-width: 1px 1px 0 1px;
    z-index: 10;
  }
  .tui-grid-no-scroll-x .tui-grid-scrollbar-right-bottom {
    height: 0;
  }
  .tui-grid-no-scroll-x.tui-grid-has-summary-bottom
    .tui-grid-scrollbar-right-bottom {
    border-bottom-width: 1px;
  }
  .tui-grid-no-scroll-y .tui-grid-scrollbar-right-bottom {
    width: 0;
    height: 16px;
    border-left: 0;
  }
  .tui-grid-scrollbar-y-inner-border {
    display: block;
    position: absolute;
    right: 17px;
    width: 1px;
    z-index: 10;
  }
  .tui-grid-scrollbar-y-outer-border {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    z-index: 10;
  }
  .tui-grid-scrollbar-frozen-border {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 17px;
    border-style: solid;
    border-width: 0 1px 0 0;
    z-index: 10;
  }
  .tui-grid-frozen-border {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 5;
  }
  .tui-grid-height-resize-handle {
    overflow: hidden;
    background-color: #fff;
    cursor: row-resize;
    height: 17px;
    border-style: solid;
    border-width: 0 1px 1px;
    border-color: #fff;
    font-size: 0;
    text-align: center;
  }
  .tui-grid-height-resize-handle button {
    display: block;
    width: 100%;
    cursor: row-resize;
    padding: 0;
    margin: 0;
    outline: 0;
    border: 0;
    background: transparent;
  }
  .tui-grid-height-resize-handle button span {
    background: url()
      no-repeat -39px -10px;
    display: inline-block;
    width: 16px;
    height: 17px;
  }
  .tui-grid-btn-tree {
    position: absolute;
    padding: 0;
    padding-left: 4px;
    margin-top: -8px;
    top: 50%;
    width: 15px;
    height: 15px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0;
    vertical-align: middle;
    cursor: pointer;
  }
  .tui-grid-tree-icon {
    position: absolute;
    margin-top: -7px;
    top: 50%;
    width: 22px;
    height: 14px;
    font-size: 0;
    vertical-align: middle;
  }
  .tui-grid-tree-icon i {
    display: inline-block;
    margin-left: 5px;
    width: 14px;
    height: 14px;
    background: url()
      no-repeat -14px -35px;
  }
  .tui-grid-tree-button-collapse .tui-grid-btn-tree i {
    background-position: -43px -61px;
    width: 8px;
    height: 11px;
  }
  .tui-grid-tree-button-collapse .tui-grid-tree-icon i {
    margin-left: 4px;
    background-position: -39px -35px;
    width: 14px;
    height: 14px;
  }
  .tui-grid-tree-button-expand .tui-grid-btn-tree i {
    margin-top: 2px;
    background-position: -15px -63px;
    width: 11px;
    height: 8px;
  }
  .tui-grid-tree-button-expand .tui-grid-tree-icon i {
    margin-left: 4px;
    background-position: -65px -35px;
    height: 14px;
    width: 14px;
  }
  .tui-grid-tree-wrapper-relative {
    position: relative;
    margin: -1px 0;
  }
  .tui-grid-tree-wrapper-valign-center {
    vertical-align: middle;
  }
  .tui-grid-tree-extra-content {
    position: absolute;
    margin-left: 4px;
    top: 0;
    left: 0;
    bottom: 0;
  }
  .tui-grid-tree-depth {
    display: inline-block;
    position: absolute;
    width: 22px;
    top: 0;
    bottom: 0;
  }
  .tui-grid-tree-depth i {
    display: inline-block;
    background: url()
      no-repeat;
  }

  .tui-grid-row-hidden .tui-grid-cell {
    display: none;
  }

  .tui-grid-row-header-checkbox {
    padding: 4px 5px;
  }

  .tui-grid-filter-container {
    width: 220px;
    padding: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    background-color: #fff;
    position: absolute;
    top: 0;
    z-index: 100;
    left: 68px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
  }

  .tui-grid-filter-container .tui-grid-btn-filter,
  .tui-grid-btn-close {
    margin-bottom: 6px;
  }

  .tui-grid-filter-dropdown {
    box-sizing: border-box;
    margin: 2px 7px;
    height: 29px;
    width: 190px;
    border: 1px solid #ddd;
  }

  .tui-grid-filter-dropdown select {
    height: 100%;
    width: 100%;
    font-size: 13px;
    color: #333;
    border: none;
    background-color: #fff;
    cursor: pointer;
  }

  .tui-grid-filter-dropdown select:focus {
    outline: none;
  }

  .tui-grid-filter-container .tui-grid-filter-input {
    margin: 2px 7px;
    padding: 8px 7px;
    font-size: 13px;
    color: #333;
    border: 1px solid #ddd;
    width: 190px;
    height: 29px;
  }

  .tui-grid-filter-input::placeholder {
    color: rgba(51, 51, 51, 0.3);
  }

  .tui-grid-filter-comparator-container {
    margin: 2px 0;
    padding: 8px;
  }

  .tui-grid-filter-comparator {
    display: inline-block;
    margin-right: 8px;
  }

  .tui-grid-filter-comparator label {
    cursor: pointer;
  }

  .tui-grid-filter-comparator span {
    font-size: 12px;
    color: #333;
    vertical-align: middle;
  }

  .tui-grid-filter-comparator label::before {
    content: ' ';
    margin-right: 4px;
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url()
      no-repeat -113px -35px;
    vertical-align: middle;
  }

  .tui-grid-filter-comparator-checked label::before {
    background: url()
      no-repeat -89px -35px;
  }

  .tui-grid-filter-comparator input[type='radio'] {
    display: none;
  }

  .tui-grid-filter-list-container .tui-grid-filter-list {
    margin: 4px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    max-height: 272px;
    overflow-y: scroll;
  }

  .tui-grid-filter-list-container .tui-grid-filter-list-item {
    color: #333;
  }

  .tui-grid-filter-list-item input[type='checkbox'] {
    display: none;
  }

  .tui-grid-filter-list-item label {
    cursor: pointer;
    display: block;
    padding: 9px 8px;
  }

  .tui-grid-filter-list-item label::before {
    content: ' ';
    margin-right: 6px;
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url()
      no-repeat -37px -118px;
    vertical-align: middle;
  }

  .tui-grid-filter-list-item-checked label::before {
    background: url()
      no-repeat -13px -118px;
  }

  .tui-grid-filter-list-item label span {
    font-size: 13px;
    max-width: 152px;
    word-break: break-all;
    word-wrap: break-word;
    vertical-align: middle;
  }

  .tui-grid-filter-list .tui-grid-filter-list-item-checked {
    background-color: #e5f6ff;
  }

  .tui-grid-filter-btn-container {
    margin: 4px 5px;
    text-align: right;
  }

  .tui-grid-filter-btn {
    box-sizing: border-box;
    color: #fff;
    font-size: 13px;
    height: 29px;
    width: 50px;
    border-radius: 2px;
    margin-left: 4px;
    cursor: pointer;
  }

  .tui-grid-filter-btn-apply {
    background-color: #00a9ff;
    border: 1px solid #00a9ff;
  }

  .tui-grid-filter-btn-apply:hover {
    background-color: #0088d9;
    border: 1px solid #0088d9;
  }

  .tui-grid-filter-btn-clear {
    background-color: #777777;
    border: 1px solid #777777;
  }

  .tui-grid-filter-btn-clear:hover {
    background-color: #5a6268;
    border-color: #545b62;
  }

  /* input datepicker icon */
  .tui-grid-datepicker-input-container {
    position: relative;
  }

  .tui-grid-datepicker-input-container input.tui-grid-datepicker-input {
    padding: 6px 27px 6px 7px;
  }

  .tui-grid-date-icon {
    position: absolute;
    width: 14px;
    height: 14px;
    background: url()
      no-repeat -61px -118px;
    top: 45%;
    right: 10px;
    margin: -6px 0 0 0;
    cursor: pointer;
  }

  /* editor ui */
  .tui-grid-layer-editing-inner {
    box-sizing: border-box;
  }

  .tui-grid-editor-select-box-layer {
    position: absolute;
    z-index: 100;
  }

  .tui-grid-editor-select-box-layer * {
    box-sizing: border-box;
  }

  .tui-grid-editor-select-box-layer li {
    padding: 0 8px;
  }

  .tui-select-box-input {
    outline: none;
  }

  .tui-grid-container .tui-select-box-dropdown {
    max-height: 180px;
  }

  .tui-grid-editor-checkbox-list-layer {
    position: absolute;
    background-color: #fff;
    border: 1px solid #aaa;
    z-index: 100;
    max-height: 180px;
    overflow: hidden auto;
  }

  .tui-grid-editor-checkbox-list-layer * {
    box-sizing: border-box;
  }

  .tui-grid-editor-checkbox-list-layer .tui-grid-editor-checkbox {
    line-height: 32px;
    height: 32px;
  }

  .tui-grid-editor-checkbox-list-layer .tui-grid-editor-checkbox:last-child {
    margin-bottom: 1px;
  }

  .tui-grid-editor-checkbox-hovered {
    background-color: #e5f6ff;
  }

  .tui-grid-editor-checkbox input[type='checkbox'],
  .tui-grid-editor-checkbox input[type='radio'] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }

  .tui-grid-editor-checkbox label {
    display: inline-block;
    cursor: pointer;
    width: 100%;
    height: 100%;
    margin: 0 7px;
  }

  .tui-grid-editor-checkbox label:before {
    content: ' ';
    margin-right: 6px;
    display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: middle;
  }

  .tui-grid-editor-checkbox label span {
    display: inline-block;
    font-size: 12px;
    color: #333;
    vertical-align: middle;
  }

  .tui-grid-editor-label-icon-checkbox::before {
    background: url()
      no-repeat -37px -118px;
  }

  .tui-grid-editor-label-icon-checkbox-checked::before {
    background: url()
      no-repeat -13px -118px;
  }

  .tui-grid-editor-label-icon-radio::before {
    background: url()
      no-repeat -113px -35px;
  }

  .tui-grid-editor-label-icon-radio-checked::before {
    background: url()
      no-repeat -89px -35px;
  }

  .tui-grid-editor-datepicker-layer {
    margin-top: -4px;
    position: absolute;
    z-index: 100;
  }

  .tui-grid-editor-datepicker-layer * {
    box-sizing: border-box;
  }

  .tui-grid-container .tui-calendar-month .tui-calendar-body,
  .tui-grid-container .tui-calendar-year .tui-calendar-body {
    width: 220px;
  }

  .tui-grid-row-header-draggable {
    text-align: center;
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
  }

  .tui-grid-row-header-draggable span {
    display: inline-block;
    width: 1px;
    height: 1px;
    margin: 1px;
    line-height: 0;
    background: #5a6268;
  }

  .tui-grid-floating-row {
    z-index: 15;
    background: #fff;
    border: 1px solid #ddd;
    color: #5a6268;
    min-width: 200px;
    position: absolute;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    overflow: hidden;
  }

  .tui-grid-floating-cell {
    display: inline-block;
  }

  .tui-grid-floating-tree-cell {
    padding: 0 10px;
  }

  .tui-grid-floating-tree-cell-content {
    margin-left: 10px;
    vertical-align: middle;
  }

  .tui-grid-floating-tree-cell .tui-grid-tree-icon {
    position: relative;
    margin-top: -14px;
    display: inline-block;
  }

  .tui-grid-floating-line {
    position: absolute;
    height: 1px;
    background: #00a9ff;
    display: none;
    z-index: 15;
  }

  .tui-grid-cell.dragging {
    opacity: 0.5;
  }

  .tui-grid-cell.parent-cell {
    background-color: rgba(0, 169, 255, 0.15);
  }

  .tui-grid-container .tui-grid-context-menu {
    position: absolute;
    z-index: 15;
    width: auto;
    min-width: 197px;
    color: #333;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    border: 1px solid #ccc;
    padding: 5px 0;
    background-color: #fff;
  }

  .tui-grid-context-menu .menu-item {
    position: relative;
    height: 32px;
    line-height: 32px;
    padding: 0 14px;
    cursor: pointer;
  }

  .tui-grid-context-menu .menu-item:hover {
    background-color: #d4e9f2;
  }

  .tui-grid-context-menu .menu-item.disabled {
    color: #ccc;
  }

  .tui-grid-context-menu .has-submenu::after {
    position: absolute;
    right: 10px;
    content: url();
  }

  .tui-grid-context-menu .menu-item.separator {
    height: 1px;
    background: #ccc;
    margin: 5px 0;
  }

  .tui-grid-context-menu span {
    display: inline-block;
  }
`;
